package com.sdutcm.Service;

/*
 *@Author Yan
 *@Create 2019-08-28 11:07
 */

import com.sdutcm.Shiro.Role;
import com.sdutcm.Shiro.User;

import java.util.List;

public interface RealmService {
    public User findByUsername(String username);

    List<Role> selectRoleList(String username);
}
